﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LEET.CommonInterfaces.Compilers;
using LEET.LEETCommon.Model;
using LEET.CommonInterfaces.TestControls;

namespace LEET.StandardModules.Instructions
{
    public class DemoBreakpoint : Instruction
    {
        public DemoBreakpoint(String [] args) : base(args){}

        public static IAutomationActionResult Break()
        {
            //TODO
            return null;
        }

        public override String RenderStaticCall()
        {
            //TODO
            return "LEET.StandardModules.Instructions.DemoBreakpoint.Break()";
        }

        [Obsolete("This should now be replaced by RenderStaticCall", false)]
        protected override string MethodBody(AssertionSet asserts)
        {
            return "                return new AutomationActionResult(ScriptSignal.Wait);\r\n";
        }

        [Obsolete("This should now be replaced by RenderStaticCall", false)]
        protected override string RenderedMethodName(int i)
        {
            return "_" + i + "_DemoBreakpoint" + "()";

        }

        public override string PlainText()
        {
            return "";
        }
    }
}
